package com.cgc.venus.server.app.bean;
import cn.afterturn.easypoi.excel.annotation.Excel;
/**
 * 镜像参数表
 * Created by 业哥 on 2018/5/30.
 */
public class ImageParaBean {
    @Excel(name = "镜像名称", orderNum = "0",width = 25)
    private String name="";
    @Excel(name = "镜像描述", orderNum = "1",width = 20)
    private String desc="";
    @Excel(name = "部署类型", orderNum = "2",width = 15)
    private String deployType="Deployment";
    @Excel(name = "内存请求值", orderNum = "3",width = 15)
    private String memoryRequest="100Mi";
    @Excel(name = "内存最大值", orderNum = "4",width = 15)
    private String memoryMax="1Gi";
    @Excel(name = "cpu请求值", orderNum = "5",width = 15)
    private String cpuRequest="100m";
    @Excel(name = "cpu最大值", orderNum = "6",width = 15)
    private String cpuMax="1";
    @Excel(name = "默认启动实例个数", orderNum = "7",width = 20)
    private String instanceCount="1";
    @Excel(name = "镜像拉取策略", orderNum = "8",width = 15)
    private String getImagesType="Always";
    @Excel(name = "启动命令", orderNum = "9",width = 30)
    private String command="";
    @Excel(name = "启动命令参数", orderNum = "10",width = 50)
    private String commandPara="";
    @Excel(name = "环境变量", orderNum = "11",width = 50)
    private String env="";
    public ImageParaBean() {
    }

    public ImageParaBean(String name, String desc, String deployType, String memoryRequest, String memoryMax, String cpuRequest, String cpuMax, String instanceCount, String getImagesType, String command, String commandPara, String env) {
        this.name = name;
        this.desc = desc;
        this.deployType = deployType;
        this.memoryRequest = memoryRequest;
        this.memoryMax = memoryMax;
        this.cpuRequest = cpuRequest;
        this.cpuMax = cpuMax;
        this.instanceCount = instanceCount;
        this.getImagesType = getImagesType;
        this.command = command;
        this.commandPara = commandPara;
        this.env = env;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDeployType() {
        return deployType;
    }

    public void setDeployType(String deployType) {
        this.deployType = deployType;
    }

    public String getMemoryRequest() {
        return memoryRequest;
    }

    public void setMemoryRequest(String memoryRequest) {
        this.memoryRequest = memoryRequest;
    }

    public String getMemoryMax() {
        return memoryMax;
    }

    public void setMemoryMax(String memoryMax) {
        this.memoryMax = memoryMax;
    }

    public String getCpuRequest() {
        return cpuRequest;
    }

    public void setCpuRequest(String cpuRequest) {
        this.cpuRequest = cpuRequest;
    }

    public String getCpuMax() {
        return cpuMax;
    }

    public void setCpuMax(String cpuMax) {
        this.cpuMax = cpuMax;
    }

    public String getInstanceCount() {
        return instanceCount;
    }

    public void setInstanceCount(String instanceCount) {
        this.instanceCount = instanceCount;
    }

    public String getGetImagesType() {
        return getImagesType;
    }

    public void setGetImagesType(String getImagesType) {
        this.getImagesType = getImagesType;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public String getCommandPara() {
        return commandPara;
    }

    public void setCommandPara(String commandPara) {
        this.commandPara = commandPara;
    }

    public String getEnv() {
        return env;
    }

    public void setEnv(String env) {
        this.env = env;
    }
}